const filterOption = {
	batchNo: '',
	customCoding: '',
};
const searchFromData = {
	batchNumber: undefined,
	customCoding: undefined,
}
const filterOption2 = {
	items: [
		{
			label: "销售分类",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "salesType",
			required: true,
		},
		{
			label: "系列",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "aSeriesOf",
			required: true,
		},
		{
			label: "款式名称",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "styleId",
			required: true,

		},
		
	],

};
const searchFromData2 = {
	origin: undefined,
	origin2: undefined,
	origin3: undefined,
};
const filterOption3 = {
	/* 
	  手寸范围  saleStyleHandRanges
	  钻重范围  saleStyleInlaiedScoopRanges
	*/
	items: [{
			label: "主石形状",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "theMainStoneShape",
			disabled: true,
		},
		{
			label: "主石材质",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "mainStone1Material",
			disabled: true,
		},
		{
			label: "主石外观",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "theMainStoneAppearance",
			disabled: true,
		},
		{
			label: "材质",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "bracketMaterial",
			required: true,
		},
		{
			label: "手寸",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "handInch",
			required: true,
		},
		{
			label: "净度",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "cleanliness"
		},
		{
			label: "对称",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "symmetric"
		},
		{
			label: "抛光",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "polishing"
		},
		{
			label: "链长",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "startChainLength"
		},
		{
			label: "颜色",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "color"
		},
		{
			label: "切工",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "cut"
		},
	],
	btnGroup: [{
			label: '查询',
			type: 'search'
		},
		{
			label: '清空',
			type: 'clear'
		}
	]
};
const searchFromData3 = {
	origin: undefined,
	origin2: undefined,
	origin3: undefined,
};
const pager = {
	params: {
		pageIndex: 1,
		pageSize: 10,
	},
	pageTotal: 0,
	pageSizeArr: [10, 20, 30, 40]
};
const path = ['销售管理', {
	label: '售后订单列表',
	name: 'afterSole'
}, '发起售后变更单'];
const tableFormInline = [{
		label: '订单编号',
		value: '',
	},
	{
		label: '原sap销售订单号',
		value: '',
	},
	{
		label: '下单人',
		value: ''
	},
	{
		label: '配送类型',
		value: ''
	},
	{
		label: '发货平台',
		value: ''
	},
	{
		label: '销售来源',
		value: ''
	},
	{
		label: '销售员',
		value: ''
	}
];
const refundStep = {
	activeStep: 1,
	step: [{
			title: '提交申请',
			description: '2017-10-01 12:00'
		},
		{
			title: '售中单审核',
			description: '2017-10-02 12:00'
		},
		{
			title: '待用户支付',
			description: ''
		},
		{
			title: '售中变更成功',
			description: ''
		},
	]
};
const sliderSelect = {
	weight:{
		value:0,
		option:[],
		sliderVal:[0,0],
	},
}
const editDialogFormData = {
	shippingMethod: '0', //配送方式(0:快递,1:自提；)
	shipper: undefined,
	originChannel: undefined,
	salesman: undefined,
	recipientName: undefined,
	recipientPhone: undefined,
	messagePhone: undefined,
	addressType: undefined,
	location: undefined,
	detailedAddress: undefined,
}
let Model = {
	data() {
		return {
			Model: {
				addressList:[],
				queryData: undefined,
				path: path,
				pager: pager,
				filterOption: filterOption,
				filterOption2: filterOption2,
				defaultFilterOption2: filterOption2,
				searchFromData: searchFromData,
				searchFromData2: searchFromData2,
				defaultSearchFromData2: searchFromData2,
				filterOption3: filterOption3,
				searchFromData3: searchFromData3,
				defaultSearchFromData3: searchFromData3,
				shouldLettering: false,
        isHighClass: false,
        isLog: false,
				barCodeTable: [],
				tableData: [],
				deliveryRadio: 0,
				deliveryDatePick: '',
				activeTab: '',
				detailDialogFlag: false,
				tableFormInline,
				refundStep: refundStep,
				outerVisible: false,
				dialogTableData: [],
				barCodeRadio: '1',
				dialogTableSelect: undefined,
				idCard: undefined,
				editDialogItemAddressBoxRadio: undefined,
				editDialogFormData,
				defaultEditDialogFormData: editDialogFormData,
				sliderSelect: sliderSelect,
				changeGoodsDialogFlag: false,
				editDialogFlag: false,
				detailTableFrom: {
					src: require('@/assets/img/icon_collapse.png'),
					flag: true
				},
				tab1TableDetail1: {
					src: require('@/assets/img/icon_collapse.png'),
					flag: true
				},
			}
		}
	}
}
export default Model;
